package com.ddone.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddone.model.auth.SysRole;
import com.ddone.model.vo.AssignRoleVo;
import com.ddone.model.vo.SysRoleQueryVo;

import java.util.Map;

/**
 * @author ddone
 * @date 2024/3/26-23:54
 */

public interface SysRoleService extends IService<SysRole> {
    IPage<SysRole> queryPage(Page<SysRole> pageParam, SysRoleQueryVo roleQueryVo);

    Map<String, Object> getRolesByUserId(String userId);


    void doAssign(AssignRoleVo assignRoleVo);
}
